<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = request.getScheme()+"://"+
            request.getServerName()+":"
            +request.getServerPort()+
            request.getContextPath()+"/";
%>
<html>
<head>
    <title>第一个SSM项目</title>
    <base href="<%=basePath%>">
</head>
<body>
<h2>Hello World!</h2>
<h1><a href="book/allBook.do">进入图书页面</a></h1>
</body>
</html>
